<!--
	Copyright 2007 futomi  http://www.html5.jp/

	Licensed under the Apache License, Version 2.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

	  http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="ja" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>レーダーチャート サンプル 1 - jsライブラリ - HTML5.JP</title>
<style type="text/css">
canvas {border:1px solid #4c4c4c;}
</style>
<!--[if IE]><script type="text/javascript" src="../html5jp/excanvas/excanvas.js"></script><![endif]-->
<script type="text/javascript" src="../html5jp/graph/radar.js"></script>
<script type="text/javascript">
window.onload = function() {
	var rc = new html5jp.graph.radar("sample");
	if( ! rc ) { return; }
	var items = [
		["商品A", 5, 2, 4, 5, 3, 2, 4, 4],
		["商品B", 3, 4, 3, 4, 5, 4, 5, 1]
	];
	var params = {
		aCap: ["安さ", "性能", "デザイン", "人気", "使いやすさ", "寿命", "軽さ", "強さ"]
	}
	rc.draw(items, params);
};
</script>
</head>
<body>
<h1>レーダーチャート サンプル 1 - jsライブラリ - HTML5.JP</h1>
<div><canvas width="400" height="300" id="sample"></canvas></div>
</body>
</html>